package com.example.demo.alex.service;

import com.example.demo.alex.model.Resource;
import com.example.demo.alex.model.Role;

import java.util.List;

/**
 * @ClassName ResourceService
 * @Author zjg
 * @Date 2018/12/2518:10
 * @Version 2.0
 */
public interface ResourceService {
    Resource getResourceByUrl(String url);

    List<Role> getRoles(Long id);
}
